ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.DirectWrite Namespace / FontFace Class / GetDesignGlyphMetrics Method / GetDesignGlyphMetrics(Int16[],Boolean) Method
An array of glyph indices for which to compute metrics. The array must contain at least as many elements as specified by glyphCount.
Indicates whether the font is being used in a sideways run. This can affect the glyph metrics if the font has oblique simulation because sideways oblique simulation differs from non-sideways oblique simulation

In This Topic
    GetDesignGlyphMetrics(Int16[],Boolean) Method
    In This Topic
    Obtains ideal (resolution-independent) glyph metrics in font design units.
    Syntax
    'Declaration
     
    Public Overloads Function GetDesignGlyphMetrics( _
       ByVal glyphIndices() As System.Short, _
       ByVal isSideways As System.Boolean _
    ) As GlyphMetrics()
    public GlyphMetrics[] GetDesignGlyphMetrics( 
       System.short[] glyphIndices,
       System.bool isSideways
    )

    Parameters

    glyphIndices
    An array of glyph indices for which to compute metrics. The array must contain at least as many elements as specified by glyphCount.
    isSideways
    Indicates whether the font is being used in a sideways run. This can affect the glyph metrics if the font has oblique simulation because sideways oblique simulation differs from non-sideways oblique simulation

    Return Value

    an array of GlyphMetrics structures.
    Remarks
    Design glyph metrics are used for glyph positioning.
    See Also